package com.ms.education.statistics.service.feign;

import com.ms.education.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * <p>Project:education-CourseFeignService
 * <p>Powered by ms on 2023-01-27 01:14:36
 *
 * @author ms
 * @version 1.0
 * @since 1.8
 */
@Component
@FeignClient(value = "service-course")
public interface CourseFeignService {

    @GetMapping("/course/course/countCourseAdd/{day}")
    @ResponseBody
    public R countCourseAdd(@PathVariable("day")String day);

}
